package com.j2eefast.produce.pms.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.j2eefast.common.core.base.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 检测数据录入列表
 * pms_sample_output
 * @author: summer
 * @date 2021-05-27 16:28
 */
@Data
@TableName("pms_sample_entry")
public class PmsSampleEntryEntity implements Serializable {

    /** 主键 */
    @TableId(value = "id",type = IdType.INPUT)
    @ExcelIgnore
    private Long id;
    /**检验名称*/
    @TableField(value = "test_name")
    @ExcelProperty(value = "检验名称",index = 0)
    private String testName;
    /**标准名字*/
    @TableField(value = "enter_name")
    @ExcelProperty(value = "标准名字",index = 1)
    private String enterName;
    /**标准id*/
    @TableField(value = "enter_id")
    @ExcelIgnore
    private Long enterId;
    /**报告备注*/
    @TableField(value = "report_remark")
    @ExcelProperty(value = "报告备注",index = 2)
    private String reportRemark;
//    /**父类*/
//    @TableField(value = "parent_id")
//    private Long parentId;
    /** 检验编号 */
    @TableField(value = "test_code")
    @ExcelProperty(value = "检验编号",index = 3)
    private String testCode;
    /** 批量 */
    @TableField(value = "batch")
    @ExcelProperty(value = "批量 */",index = 4)
    private String batch;
    /** 执行标准 */
    @TableField(value = "executive_standard")
    @ExcelProperty(value = "执行标准",index = 5)
    private String executiveStandard;
    /** 种类 */
    @TableField(value = "type")
    @ExcelProperty(value = "种类",index = 6)
    private String type;
    /** 规格 */
    @TableField(value = "specs")
    @ExcelProperty(value = "规格",index = 7)
    private String specs;
    /** 直径 */
    @TableField(value = "level")
    @ExcelProperty(value = "直径",index = 8)
    private String level;
    /** 检验类型 */
    @TableField(value = "test_type")
    @ExcelProperty(value = "检验类型",index = 9)
    private String testType;
    /** 收费项目 */
    @TableField(value = "charge_project")
    @ExcelProperty(value = "收费项目",index = 10)
    private String chargeProject;
    /** 取样数量 */
    @TableField(value = "quantity")
    @ExcelProperty(value = "取样数量",index = 11)
    private String quantity;
    /** 产地 */
    @TableField(value = "producer")
    @ExcelProperty(value = "产地",index = 12)
    private String producer;
    /** 使用部位 */
    @TableField(value = "part_used")
    @ExcelProperty(value = "使用部位",index = 13)
    private String partUsed;
    /** 样品描述 */
    @TableField(value = "sample_description")
    @ExcelProperty(value = "样品描述",index = 14)
    private String sampleDescription;
    /** 说明 */
    @TableField(value = "explains")
    @ExcelProperty(value = "说明",index = 15)
    private String explains;
    /** 描述1 */
    @TableField(value = "describes")
    @ExcelProperty(value = "描述1",index = 16)
    private String describes;
    /** 补充 */
    @TableField(value = "supply")
    @ExcelProperty(value = "补充 ",index = 17)
    private String supply;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "update_time")
    @ExcelProperty(value = "更新时间",index = 19)
    private Date updateTime;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "create_time")
    @ExcelProperty(value = "创建时间",index = 20)
    private Date createTime;
    /** 创建人 */
    @TableField(value = "create_by")
    @ExcelProperty(value = "创建人",index = 21)
    private String createBy;
    /** 更新人 */
    @TableField(value = "update_by")
    @ExcelProperty(value = "更新人",index = 22)
    private String updateBy;

      /** 备注 */
    @TableField(value = "remark")
    @ExcelProperty(value = "备注 */",index = 23)
    private String remark;

    /** 校验状态 */
    @TableField(value = "check_status")
    private int checkStatus;

    /** 签发状态 */
    @TableField(value = "issued_status")
    private String issuedStatus;


    /** 登记日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "registration_time")
    private Date registrationTime;

    /** 校核日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "check_time")
    private Date checkTime;

    /** 检验日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "test_time")
    private Date testTime;

    /** 签发日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "issued_time")
    private Date issuedTime;

    /** 委托单编号 */
    @TableField(value = "entrust_code")
    @ExcelProperty(value = "委托单编号 */")
    private String entrustCode;

    /** 委托单编号 */
    @TableField(value = "entrust_id")
    @ExcelProperty(value = "委托单编号 */")
    private String entrustId;

    /** 委托单编号 */
    @TableField(value = "total")
    @ExcelProperty(value = "编号统计 */")
    private Long total;

    /** 委托单编号 */
    @TableField(value = "sample_code")
    @ExcelProperty(value = "样品编号 */")
    private String sampleCode;

    /** 委托单编号 */
    @TableField(value = "project_name")
    @ExcelProperty(value = "样品编号 */")
    private String projectName;






}
